package cn.iocoder.yudao.module.system.controller.admin.erp.warehouse.vo;

import cn.iocoder.yudao.module.system.core.ErpOperationField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 仓库管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarehouseRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20658")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "名称", example = "王五")
    @ExcelProperty("名称")
    @ErpOperationField(name = "名称")
    private String name;

    @Schema(description = "地址")
    @ExcelProperty("地址")
    @ErpOperationField(name = "地址")
    private String address;

    @Schema(description = "面积")
    @ExcelProperty("面积")
    @ErpOperationField(name = "面积")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal extent;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    @ErpOperationField(name = "备注")
    private String remake;

    @Schema(description = "租金")
    @ExcelProperty("租金")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ErpOperationField(name = "租金")
    private BigDecimal rent;

}